GtkDialog: Fix setting of default action
authorMatthias Clasen <mclasen@redhat.com>
Wed, 9 Jul 2014 23:40:11 +0000 (19:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 9 Jul 2014 23:48:01 +0000 (19:48 -0400)
commit8afd4b71e97ab5d307ef079cb8add914e1041dc9
treebde40a577b9adf759f3956a06f0287433fb862a3
parentef3b5ca73593e5078f1456ca438845d3fe08dd99
GtkDialog: Fix setting of default action

The recent reshuffling caused an ordering problem where we would
hide the action area before relocating the buttons to the header
bar. But hiding makes the default button loose its defaultness.
Rearrange things so that we move the buttons before hiding the
action area, and thus preserve the default.
gtk/gtkdialog.c